package com.sz.mes.service;

import com.diboot.core.vo.JsonResult;
import com.sz.mes.dto.ClockInDTO;
import com.sz.mes.entity.ClockIn;
import com.sz.mes.service.BaseCustomService;
import com.sz.mes.vo.GenerateTechniqueVO;

import java.text.ParseException;
import java.util.Map;

/**
* 上下机记录相关Service
* @author hem
* @version 1.0
* @date 2023-06-19
 * Copyright © szhs
*/
public interface ClockInService extends BaseCustomService<ClockIn> {
    JsonResult generateTechnique(GenerateTechniqueVO generateTechniqueVO) throws ParseException;

    JsonResult upplane(ClockIn clockIn);

    JsonResult deplane(ClockInDTO clockIn);

    JsonResult executeState(ClockIn clockIn);

    JsonResult findProductDetail(ClockIn clockIn);

    JsonResult findTaskList(Integer state);

    Map<String, Object> getList(ClockInDTO clockInDTO);
}
